package com.bigdata.service.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bigdata.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户积分账户对象 user_points
 *
 * @author ruoyi
 * @date 2025-07-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("user_points")
public class UserPoints extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 关联用户ID
     */
    @TableId(value = "user_id")
    private Long userId;
    /**
     * 可用总积分
     */
    private Long totalPoints;
    /**
     * 历史累计积分
     */
    private Long cumulativePoints;

}
